package com.runvp.service.biz.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.runvp.common.annotation.Excel;
import com.runvp.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户钱包对象 biz_customer_wallet
 *
 * @author runvp
 * @date 2022-11-05
 */
@ToString
@Getter
@Setter
public class BizCustomerWallet extends BaseEntity {

    private static final long serialVersionUID = -4227633317998682663L;
    /** 客户ID */
    private Long customerId;

    /** 押金(元) */
    @Excel(name = "押金(元)")
    private BigDecimal deposit;

    /** 押金交易号 */
    @Excel(name = "押金交易号")
    private String depositTranNo;

    /** 押金缴纳时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "押金缴纳时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date depositTranTime;

    /** 余额(元) */
    @Excel(name = "余额(元)")
    private BigDecimal balance;

    /** 余额交易号 */
    @Excel(name = "余额交易号")
    private String balanceTranNo;

    /** 启用状态 */
    @Excel(name = "启用状态")
    private String status;

}
